package DataTags;


import java.io.File;
import java.util.List;

/**
 * Description of the class DataTagsAdapter.
 * this is the interface for other classes to the Tags
 * and how they store(DB/files)
 *@author oz
 */
public interface DataTagsAdapter {
	/**
	 * contains the interface methods
	 * that will be implements in the inherited classes
	 * 
	 */
	public void addTagsTo(String filename,String last_m,String path,String []tags);
	public String searchFor(String searchItem,boolean flag);
	public List<files> filesOfTag(String tag);
	public List<DataTagsToFiles> tagsOfFile(String filename);
	public List<DataTagsToFiles>simpleSearchAllTags();
	public List<files>simpleSearchAllFiles();
	public void deleteFile(File f);
	public void addFile(File f);
	public void deleteOneTag(File f,String tag);
	public void FlushTags();
//	public boolean fileExists(String fileName);
	//public void setRegexOff();
	////public void  setRegexON();
	//public boolean isRegexOn();
}